{% extends "../base.html" %}

{% block title %}{% block page_title %}医生管理中心{% endblock %} - AI病例信息采集训练{% endblock %}

{% block content %}
<div class="flex flex-col md:flex-row gap-6">
    <!-- 侧边菜单 -->
    <div class="w-full md:w-64 bg-white rounded-xl shadow-soft p-4">
        <h3 class="text-lg font-semibold mb-4 pb-2 border-b border-neutral-dark">导师功能菜单</h3>
        <ul class="space-y-1">
            <li>
                <a href="" class="menu-item block px-4 py-2 rounded-lg hover:bg-primary/5 transition-colors">
                    <i class="fa fa-tachometer mr-2"></i>仪表盘
                </a>
            </li>
            <li class="mt-6 pt-4 border-t border-neutral-dark">
                <a href="/agent/list" class="menu-item block px-4 py-2 rounded-lg hover:bg-primary/5 transition-colors">
                    <i class="fa fa-user-md mr-2"></i>病例列表
                </a>
            </li>
            <li>
                <a href="/agent" class="menu-item block px-4 py-2 rounded-lg hover:bg-primary/5 transition-colors">
                    <i class="fa fa-calendar mr-2"></i>病例录入
                </a>
            </li>
            <li class="mt-6 pt-4 border-t border-neutral-dark">
                <a href="/teacher/grading_list" class="menu-item block px-4 py-2 rounded-lg hover:bg-primary/5 transition-colors">
                    <i class="fa fa-calendar mr-2"></i>评分标准
                </a>
            </li>
            <li class="mt-6 pt-4 border-t border-neutral-dark">
                <a href="" class="menu-item block px-4 py-2 rounded-lg hover:bg-primary/5 transition-colors">
                    <i class="fa fa-calendar mr-2"></i>病例发布
                </a>
            </li>
            <li class="mt-6 pt-4 border-t border-neutral-dark">
                <a href="" class="menu-item block px-4 py-2 rounded-lg hover:bg-primary/5 transition-colors">
                    <i class="fa fa-calendar mr-2"></i>学生数据
                </a>
            </li>
        </ul>
    </div>
    <!-- 主内容区域 -->
    <div class="flex-grow">
        <div class="bg-white rounded-xl shadow-soft p-6">
            {% block main_content %}
            <h2 class="text-2xl font-semibold mb-4">医生仪表盘</h2>
            <p class="text-text-secondary">欢迎回来，{{ user.username }}医生。这是您的工作中心。</p>
            
            <!-- 数据卡片示例 -->
            <div class="grid grid-cols-1 md:grid-cols-3 gap-4 mt-6">
                <div class="border border-neutral-dark rounded-lg p-4">
                    <div class="flex justify-between items-start">
                        <div>
                            <p class="text-text-secondary text-sm">今日接诊</p>
                            <h3 class="text-2xl font-bold mt-1">12</h3>
                        </div>
                        <div class="w-10 h-10 rounded-full bg-primary/10 flex items-center justify-center text-primary">
                            <i class="fa fa-stethoscope"></i>
                        </div>
                    </div>
                </div>
                
                <div class="border border-neutral-dark rounded-lg p-4">
                    <div class="flex justify-between items-start">
                        <div>
                            <p class="text-text-secondary text-sm">待复诊患者</p>
                            <h3 class="text-2xl font-bold mt-1">8</h3>
                        </div>
                        <div class="w-10 h-10 rounded-full bg-accent/10 flex items-center justify-center text-accent">
                            <i class="fa fa-calendar-check-o"></i>
                        </div>
                    </div>
                </div>
                
                <div class="border border-neutral-dark rounded-lg p-4">
                    <div class="flex justify-between items-start">
                        <div>
                            <p class="text-text-secondary text-sm">诊断完成</p>
                            <h3 class="text-2xl font-bold mt-1">24</h3>
                        </div>
                        <div class="w-10 h-10 rounded-full bg-secondary/10 flex items-center justify-center text-secondary">
                            <i class="fa fa-check-circle"></i>
                        </div>
                    </div>
                </div>
            </div>
            {% endblock %}
        </div>
    </div>
</div>
{% endblock %}